﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;
using SaleLibrary.License;
using BrokerBase.Lib.Client;


namespace SaleLibrary.Score
{
    /// <summary>
    /// 积分规则
    /// </summary>
    public interface IScoreRule:IPKItem
    {
        IScorePolicy Policy { get; set; }

        EditionType Edition { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        double Score { get; set; }
        /// <summary>
        /// 分级比例
        /// </summary>
        double Scale { get; set; }
        /// <summary>
        /// 最大层级 
        /// </summary>
        int MaxLevel { get; set; }
        /// <summary>
        /// 最小金额，只有超过最小金额才计算推荐人的积分
        /// </summary>
        double MinAmount { get; set; }

    }
}
